home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / CHIPCD_9_99.iso / software / drivers / allied data / modem / df / DISK98NT.exe / PCMCIA / MODEM_EN.TXT < prev    next >
Text File  |  1994-01-25  |  6KB  |  194 lines

  1.  
  2.            PCMCIA MODEM ENABLER
  3.            --------------------
  4.  
  5. PLEASE NOTE
  6. ------------
  7. IF PCMCIA CARD SERVICES DRIVERS HAVE BEEN INSTALLED, THEN 
  8. THIS SHOULD BE USED TO ENABLE THE MODEM AND THE PROGRAM MODEM.EXE IS
  9. NOT REQUIRED.
  10.  
  11.  
  12. INTRODUCTION
  13. ------------
  14. The program MODEM.EXE is used to switch the PCMCIA 
  15. Modem on and off as a device on a selected com port (com1 - com4). 
  16.  
  17. The program accesses the PCMCIA hardware directly and may clash with
  18. other PCMCIA device drivers if they have been installed. 
  19.  
  20. The PCMCIA Modem should only be installed or removed when the 
  21. machine is switched off.
  22.  
  23. MODEM.EXE
  24. ---------
  25. The program MODEM.EXE has a number of parameters which are described
  26. in the following paragraphs, however, typing the command:
  27.  
  28.         MODEM<ENTER>
  29.  
  30. will display the following help screen of allowed parameters:
  31.  
  32. Usage: MODEM OFF | COM1 | COM2 | COM3 | COM4 | IRQn IOBASE [/MEM] [SLOT]
  33.        OFF switches the modem off
  34.        COM1..4 specifies COM setting
  35.        IRQ specifies the IRQ to be used (3,4,5,7)
  36.        IOBASE specifies the base address (2E8,2F8,3E8,3F8)
  37.        /MEM specifies the scratch memory  (80..FF), default is D0
  38.        SLOT specifies the slot to be used (A or B), default is A
  39.  
  40. Hint - commonly used IRQ and IOBASE combinations are:
  41.        COM1  (3F8 IRQ4)
  42.        COM2  (2F8 IRQ3)
  43.        COM3  (3E8 IRQ4)
  44.        COM4  (2E8 IRQ3)
  45.  
  46.  
  47. SWITCHING THE MODEM OFF
  48. -----------------------
  49. Typing the command:
  50.  
  51.         MODEM OFF<ENTER>
  52.  
  53. will switch the modem off, saving battery life. 
  54. When the modem is switched on but not being used it automatically 
  55. enters a low power idle state. The message 'Modem is off' is displayed 
  56. to confirm that the modem is off. If the modem was already off, the 
  57. message:
  58.  
  59.         'Modem is already off' 
  60.         
  61. is displayed.
  62.  
  63.  
  64. SETTING THE MODEM COM PORT 
  65. --------------------------
  66. Typing the command:
  67.  
  68.         MODEM COM2<ENTER>
  69.  
  70. will switch the modem on and configure it for use as COM2. 
  71.  
  72. The program displays the message 
  73.  
  74.         'Modem setup for COM2' 
  75.         
  76. to confirm that the modem has been successfully configured. 
  77.  
  78. If the modem is not installed in the PCMCIA slot the error message 
  79.  
  80.         'Modem is not present'
  81.  
  82. is displayed. 
  83.  
  84. If the configuration failed the error message 
  85.  
  86.         'Modem failed setup' 
  87.         
  88. is displayed. 
  89.  
  90. The modem can be configured as COM1, COM2, COM3 or COM4. Care should 
  91. be taken to ensure that the COM port selected is not already used by 
  92. the serial port. 
  93.  
  94.  
  95. SETTING THE MODEM ADDRESS AND IRQ
  96. ---------------------------------
  97. For users requiring non-standard COM port settings, the IRQ line and
  98. the IO base address may be specified, for example:
  99.  
  100.         MODEM 2F8 IRQ5<ENTER>
  101.  
  102. will configure the modem to use interrupt 5 and base address 2F8. The
  103. message 
  104.  
  105.         'Modem setup for 2F8 IRQ5' 
  106.         
  107. is displayed to confirm that the modem has been successfully configured.
  108.  
  109.  
  110. MODEM.EXE MEMORY ALLOCATION
  111. ---------------------------
  112. The enabler program requires 1K of free address space starting by
  113. default at the location D000:0000. In the unlikely event that this
  114. space is not available on your machine, the start address may be
  115. specified using the /MEM parameter, for example:
  116.  
  117.         MODEM COM2 /C0
  118.  
  119. will force the program to use the address space starting at
  120. C000:0000.  If the memory space is not available the message 
  121.  
  122.         'Invalid memory base address' 
  123.         
  124. is displayed.
  125.  
  126. OR
  127.  
  128. If EMM386.EXE is in your Config.sys, then exclude the address range 
  129. D000 to DFFF by adding  X=D000-DFFF to the parameters, for example:
  130.  
  131.     DEVICE=C:\DOS\EMM386.EXE X=D000-DFFF
  132.  
  133.  
  134. ELONEX NB-400 SERIES NOTEBOOKS
  135. ------------------------------
  136. A special parameter ELONEX should be specified whenever the enabler
  137. is used on NB-400 series notebooks, for example:
  138.  
  139.     MODEM ELONEX COM2
  140.  
  141. or:
  142.  
  143.     MODEM ELONEX OFF
  144.  
  145. The NB-400 does not allow PCMCIA cards to use IRQ4, so the enabler
  146. will use IRQ5 if COM3 is specified.
  147.  
  148. PCMCIA cards always appear at address A000:0000 in the NB-400 memory
  149. space. This space is always available, so there is no need to 
  150. explicitly exclude a range of addresses using EMM386. For this
  151. reason specifiying a /MEM parameter will have no effect.
  152.  
  153.  
  154. INSTALLING THE MODEM ENABLER 
  155. ----------------------------
  156. Copy the program MODEM.EXE to your hard-disk using the command:
  157.  
  158.         COPY A:MODEM.EXE C:\ (or to a suitable DOS pathname)
  159.  
  160. To configure the modem automatically each time the computer is
  161. switched on, add the appropriate configuration command (e.g. MODEM
  162. COM2) to your 'autoexec.bat' file. It will be useful to place the
  163. program in a directory for which a path has been setup.
  164.  
  165. Alternatively a batch file could be used to configure the modem each
  166. time the modem is used, which could then also invoke the
  167. communications package that is used. For example the batch file:
  168.  
  169.         MODEM COM2
  170.         XYZ.....
  171.         MODEM OFF
  172.  
  173. will configure the modem for COM2 and invoke your favourite package
  174. 'XYZ.....'. After you quit from the communications program the modem
  175. will be switched off.
  176.  
  177.  
  178. ERRORLEVELS WITH MODEM.EXE
  179. --------------------------
  180. The program has been designed to return an ERRORLEVEL so that the
  181. batch file can determine if the configuration was successful or not.
  182. The following batch file illustrates its use:
  183.  
  184.         @ECHO OFF
  185.         MODEM COM2
  186.         IF ERRORLEVEL 1 GOTO EXIT
  187.         XYZ.....
  188.         :EXIT
  189.         MODEM OFF
  190.  
  191. This batch file has the advantage of not invoking the communications
  192. program 'XYZ.....' unless the configuration was successful.
  193.  
  194.